package mylibrary.designPattern;

public class Test {

	private static String sb;
	private int a;
	private String s;
	
	private static class Inner{
		
		private String a;
		public void method1() {
			System.out.println("aaaa");
			sb = "100";
			//s = "20";
			System.out.println(sb);
			
		}
		public static String abc;
	}
	
	public void doSth() {
		System.out.println("12345");
		Inner inner = new Inner();
		Inner.abc = "123";
	}
	
	public void doSth2() {
		
		Test.Inner inner = new Test.Inner();
		inner.method1();
		inner.a = "nihao";
		System.out.println(inner.a);
		
		Inner inn = new Inner();
	}
	
	public static void main(String[] args) {
		
		Test test = new Test();
		
		test.doSth2();
		
		//Inner inn = new Inner();
		//inn.method1();
		
		
	}
}
